import request from '@/utils/request'

export function getCommentsApi(params) {
  return request({
    url: '/admin/comments',
    method: 'get',
    params
  })
}

export function delCommentsApi(params) {
  return request({
    url: '/admin/comments',
    method: 'delete',
    data: params
  })
}

export function delListCommentsApi(params) {
  return request({
    url: '/admin/comments/all',
    method: 'delete',
    data: params
  })
}

export function ReplyCommentsApi(params) {
  return request({
    url: '/admin/comments',
    method: 'post',
    data: params
  })
}

